package com.zeng.stpro.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zeng.stpro.modules.app.bean.SysUserRole;
import com.zeng.stpro.modules.app.mapper.SysUserRoleMapper;
import com.zeng.stpro.modules.app.service.SysUserRoleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.List;

/**
 * @Author ZENGZHIJUN
 * @Date 2021/2/2 17:23
 */
@Transactional
@Service("sysUserRoleService")
public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUserRole> implements SysUserRoleService {

    public List<Long> findRoleIdListByUserId(Serializable userid) {
        return baseMapper.findRoleIdListByUserId(userid);
    }


}
